CREATE PROCEDURE [acms].[EmailActivationCode_GetAllByUserId]
	@UserId int
AS
	SELECT *
	From [acms].[EmailActivationCode_View]
	Where [UserId] = @UserId
	ORDER BY [Created] desc
RETURN 0